import React from 'react'
import Button from '@/components/Button'
import DateArea from '@/components/DateArea'
import styl from './home.module.styl'
import axios from 'axios'
class Home extends React.Component {
  render() {
    return (
      <div className={styl.center}>
        <DateArea />
        <Button label={'刷新'}></Button>
      </div>
    )
  }

  componentDidMount() {
    axios.get('/api/test').then((res) => {})
  }
}

export default Home
